{template 'common/header'}
<ul class="nav nav-tabs">
	<li class="active"><a href="{php echo $this->createWebUrl('item',array('op'=>'itemtype'))}">项目分类</a></li>
	<li><a href="{php echo $this->createWebUrl('item',array('op'=>'itemsetting'))}">项目编辑</a></li>
	<li><a href="{php echo $this->createWebUrl('activity')}">活动编辑</a></li>
</ul>
<div class="panel-body table-responsive"> 
     <table class="table table-hover"> 
      <thead class="navbar-inner"> 
       <tr> 
        <th>id</th> 
        <th>名称</th> 
        <th>设置</th> 
       </tr> 
      </thead> 
      <tbody> 
      {loop $list $index $item}
      <tr>  
        <td>{$item[id]}</td> 
        <td>{$item[itemtypename]}</td> 
        <td><a href="{php echo $this->createWebUrl('item')}&op=itemtypeupdate&id={$item[id]}" class="btn btn-default btn-sm" title="修改"><i class="glyphicon glyphicon-cog"></i></a> <a href="{php echo $this->createWebUrl('item')}&op=itemtypedelete&id={$item[id]}" class="btn btn-default btn-sm" onclick="return confirm('确认删除此游戏项目?')" title="删除"><i class="glyphicon glyphicon-remove"></i></a> </td> 
       </tr>    
       {/loop}    
       <tr><td colspan="3" style="text-align:left;"> <a class="btn btn-default" href="{php echo $this->createWebUrl('item')}&op=itemtypeadd"><i class="glyphicon glyphicon-plus"></i> 添加分类</a> <input type="hidden" name="token" value="bd06da03"></td></tr> 
      </tbody> 
     </table> 
    </div>
{template 'common/footer'}